<?php
require_once "../load.php";
error_reporting(0);
$action = $_POST["action"];
unset($_POST["action"]);
if (get_magic_quotes_gpc()) {
    $_POST = Owl_Format::stripslashes_deep($_POST);
}

switch($action) {
    case 'set_default_customization' :
        echo __("Revert to default?");
        break;
    case 'delete_note' :
        echo __("Do you want to delete this note?");
        break;
    case 'delete_course' :
        echo __("Do you want to delete this course?");
        break;
    case 'delete_document' :
        if ($_POST['num'] <= 1) {
            echo __("Do you want to delete this document?");
        }
        else {
            echo sprintf(__("Do you want to delete these %d documents?"), $_POST["num"]);
        }
        break;
    case 'delete_page' :
        echo __("Do you want to delete this page?");
        break;
    case 'delete_product' :
        echo __("Do you want to delete this product?");
        break;
    default:
        die();
}

die();